@font-face {
    font-family: 'iconfont';
    src: url('iconfont.eot');
    src: url('iconfont.eot?#iefix') format('embedded-opentype'),
        url('iconfont.woff2') format('woff2'),
        url('iconfont.woff') format('woff'),
        url('iconfont.ttf') format('truetype'),
        url('iconfont.svg#iconfont') format('svg');
  }
  
  .iconfont {
    font-family: "iconfont" !important;
    font-size: 16px;
    font-style: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
  

* {
    margin: 0;
    padding:0;
}

ul {
    list-style: none;
}

/*清除浮动*/
.clear::after {
    content: '';
    display: block;
    clear: both;
}

body {
    width: 100%;
    height: 100vh;
    background-color: #424242;
    display: flex;
    align-self: center;
    justify-content: center;
}

.container {
    margin-top: 10px;
    width: 750px;
    height: 435px;
    background-color: #222831;
    border-radius: 25px;
    box-shadow: 0 0 70px -10px rgba(0,0,0, 0.2);
    color:#fff
}

.weather-side {
    position: relative;
    width: 300px;
    height: 100%;
    border-radius: 25px 0 0 25px;
    box-shadow: 0 0 35px -10px rgba(0, 0, 0, 0.2);
    float: left;

}

.gradient {
    width: 100%;
    height: 100%;
    position: absolute;
    background-image: linear-gradient(135deg, #72EDF1 10%, #5151E6 100%);
    opacity: 0.8;
    position: absolute;
}
.date-container {
    position: absolute;
    top: 25px;
    left: 25px;
}

.date-container .date-day {
    display: block;
    margin-top: 4px;
}

.weather-conteiner {
    position: absolute;
    bottom: 25px;
    left: 25px;
}

#weather-1 {
    font-size: 70px;
}
.weather-temp {
    font-size: 4em;
    font-weight: bold;
}
.weather-desc {
    font-size: 20px;
}

.info-side {
    /* background: red; */
    float: right;
    padding-top: 25px;
    margin-right: 10px;
    height: 100%;
    box-sizing: border-box;
    position: relative;
}

.today-info {
    /* background-color: #5151E6; */
    padding: 15px 15px 0 15px;
    margin: 0 25px 25px 25px;
    box-shadow: 0 0 50px -5px rgba(0, 0, 0, 0.4);
    border-radius: 10px;
}
.today-info div {
    margin-bottom: 10px;
}

.today-info .title {
    float: left;
}
.today-info .value {
    float: right;
}

.week-list {
    margin: 10px 35px;
    border-radius: 10px;
    box-shadow: 0 0 50px -5px rgba(0, 0, 0, 0.4);

}

.week-list li {
    float: left;
    /* background-color: red; */
    padding: 15px;
    cursor: pointer;
    border-radius: 10px;
    text-align: center;
    transition: 200ms;
    z-index: 100;

}

.week-list li span {
    display: block;
}
.week-list .iconfont {
    font-size: 36px;
}

.week-list li:hover {
    transform: scale(1.1);
    background-color: #ffffff;
    color: #222831;
}
.active {
    background-color: #ffffff;
    color: #222831;
}

.week-list .day-name {
    margin-top: 10px;
    text-align: center;
}

.week-list .day-temp {
    margin-top: 10px;
    text-align: center;
    font-size: 12px;
    font-weight: bold;
}

.location-container {
    padding: 25px 35px;
    position: relative;
    /* background-color: red; */
}

.location-container input {
    outline: none;
    width: 300px;
    height: 28px;
    padding: 6px;
    display: block;
    box-sizing: border-box;
    position: absolute;
    bottom: -135px;
    left: calc(50%-150px);
    border: none;
    color: #222831;
    border-radius: 5px;
}

.location-container button {
    outline: none;
    width: 320px;
    padding: 8px;
    box-sizing: border-box;
    border: none;
    color: #ffffff;
    background-image: linear-gradient(135deg, #72EDF1 10%, #5151E6 100%);
    border-radius: 25px;
    font-weight: bold;
    box-shadow: 0 0 40px -5px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: 200ms;
    position: absolute;
    bottom: -195px;
    left: calc(50% - 160px);

}

.location-container button:hover {
    transform: scale(1.05);
}